/**
 * Copyright (C) 2020 Baidu, Inc. All Rights Reserved.
 */
package com.baidu.mpks.backendweb.ktree.dto;

import lombok.Data;

import java.util.Set;

/**
 * @author cuixuefei
 *
 */
@Data
public class TreeNodeDto {
    
    private Integer id;
    private String name;
    private Integer parentId;
    private Integer sort;
    // 是否可编辑
    private Integer edit;
    // 是否可删除
    private Integer delete;
    // 是否加密
    private Integer isEncryption;
    // 是否有权限
    private int hasPermission;
    
    private Set<Integer> selfRoles;
    private Set<Integer> parentRoles;

}
